package org.example.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author 宋孟林
 * @description 服务提供者-支付微服务模块
 * @date: 2025/4/4 14:17
 */
@SpringBootApplication
@EnableDiscoveryClient //开启服务发现
@MapperScan("org.example.cloud.mapper")
@RefreshScope //动态刷新配置文件内容
public class ServiceProviderPaymentApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceProviderPaymentApplication.class, args);
    }
}
